package com.billing.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.TIndividualTaxFormula;

public interface IndividualTaxFormulaBeanMapper {

	/**
	 * 查询所有个税公式信息
	 * @return
	 */
	public List<TIndividualTaxFormula> getTIndividualTaxFormulaList(@Param("taxablestart")double taxablestart,@Param("taxableend")double taxableend,
			@Param("organizationid")int organizationid,@Param("pageSize")int pageSize,@Param("currentPage")int currentPage);
	/**
	 * 查询个税公式信息总条数
	 * @param taxablestart
	 * @param taxableend
	 * @return
	 */
	public int getTIndividualTaxFormulaNum(@Param("taxablestart")double taxablestart,@Param("taxableend")double taxableend,
			@Param("organizationid")int organizationid);
	/**
	 * 根据id获取个税公式信息
	 * @param id
	 * @return
	 */
	public TIndividualTaxFormula getTIndividualTaxFormulaByid(@Param("id")String id);
	/**
	 * 修改个税公式信息
	 * @param tax
	 * @return
	 */
	public int updateTIndividualTaxFormula(TIndividualTaxFormula tax);
	/**
	 * 删除个税公式信息
	 * @param id
	 * @return
	 */
	public int deleteTIndividualTaxFormulaByid(@Param("id")String id);
	/**
	 * 新增个税公式信息
	 * @param tax
	 * @return
	 */
	public int insertTIndividualTaxFormula(TIndividualTaxFormula tax);
	/**
	 * 获取所有个税公式信息
	 * @return
	 */
	public List<TIndividualTaxFormula> selectTIndividualTaxFormulaList(@Param("organizationid")int organizationid);
	
}
